//package com.example.langchanin4jdemo1.config;
//
//import com.alibaba.dashscope.assistants.Assistant;
//import dev.langchain4j.model.chat.ChatLanguageModel;
//import dev.langchain4j.service.AiServices;
//import lombok.RequiredArgsConstructor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//@RequiredArgsConstructor
//public class AssistantConfig {
//    final ChatLanguageModel chatLanguageModel;
//
//    @Bean
//    public Assistant assistant(){
//        return AiServices.builder(Assistant.class)
//                .chatLanguageModel(chatLanguageModel)
//                .build();
//    }
//}
